/* eslint-disable */
import XlsxMap from './xlsxMap'
function StudentXlsxMap () {
    XlsxMap.call(this)

    this.gradeList = []
    this.peroidsList = []
}
StudentXlsxMap.prototype = new XlsxMap()




StudentXlsxMap.prototype.getPeroidsByStageName = function(stageName){
    var list = []
    for (var item of this.peroidsList) {
        if (stageName == item.stageName) {
            list.push(item.name)
        }
    }
    return list
}
StudentXlsxMap.prototype.getGradeByName = function({stageName, peroidName}){
    var list = []
    for (var item of this.peroidsList) {
        if (stageName == item.stageName && this.getNumber(item.name) == this.getNumber(peroidName)) {
            list.push(item.gradeName)
        }
    }
    return list
}

export default StudentXlsxMap